<template>
  <div>详情</div>
</template>
<script>
export default {
  mounted() {
    // console.log("利用获取id,ajax请求后端接口", location.hash);
    console.log("利用获取id,ajax请求后端接口", this.$route); //this.$route当前匹配的路由对象信息
    console.log(this.$route.params.myid);
    console.log(this.$route.query.myid);
  },
};
</script>
<style lang="">
</style>
